#pragma once

#ifdef _WINDOWS
#include <time.h>
#include <Windows.h>
#endif

class Timer {
public:
	Timer();
	~Timer();
	void start();
	void stop();
	void reset();
	bool isRunning();
	double getElapsedTime();
private:
	bool running;
	double timeFrequency;
#ifdef _WINDOWS
	LARGE_INTEGER beginning;
	LARGE_INTEGER end;
#endif
};